//动态下来菜单
import request from "@/utils/request";


//树形列表
export function getThree(id) {
  return request({
    url: '/room/Common/getThree?id='+id,
    method: 'get',
  })
}
//查询列表接口
export function pageList(pageNum,pageSize,roomPageBuildVO) {
    return request({
        url: '/room/residents/pageList?pageNum='+pageNum+'&pageSize='+pageSize,
        method: 'post',
        data:roomPageBuildVO
    })
}
//统计列表接口
export function getCount(id) {
    return request({
        url: '/room/Common/getCount?id='+id,
        method: 'get',
    })
}



//房间列表
export function getRoomAll() {
    return request({
        url: '/room/room/getRoomAll',
        method: 'get',
    })
}
//楼栋列表
export function getFloorAll() {
    return request({
        url: '/room/floor/getFloor',
        method: 'get',
    })
}
//单元列表
export function getUnitAll() {
    return request({
        url: '/room/unit/getUnitAll',
        method: 'get',
    })
}
//楼栋列表
export function getBuildingBlockNumber() {
    return request({
        url: '/room/buildingblock/getBuilDingBlockNumber',
        method: 'get',
    })
}
//通讯服务列表
export function getBroadbandAll() {
    return request({
        url: '/room/broadband/getBroadband',
        method: 'get',
    })
}
//校区列表
export function getBuilding() {
    return request({
        url: '/room/building/getBuildingAll',
        method: 'get',
    })
}
